<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<title>Mont Blanc Foot F7 - Dar de Alta Jugadores</title>

		<?php $this -> load -> view('head_view');?>
		
	</head>
	<body id="page1">
		<div id="line-hor-play-list">
		</div>
		<div id="main-bg-top">
			<div id="main-bg-bot">
				<div id="main">
					<!-- header -->
					<div id="header">
						<?php $this -> load -> view('league_header');?>
					</div>
					<!-- content -->
					<div id="content">
						<!-- script -->
						<div id="indent">
							<!-- scroller news -->
							<div id="flexform">
								<ul class="list-3">
									<li>
										<b>
										<p>
											<img src="/index.php/players/image/<?php echo $player_id;?>" />
											<strong>Nombre:</strong><?php echo $player_name;?>
										</p>
										<p>
											<strong>Ciudad de Origen:</strong><?php echo $city;?>
										</p>
										<p>
											<strong>Fecha de Nacimiento:</strong> <?php echo $birth_date;?>
										</p>
										</b>
									</li>
								</ul>
								<h2>Equipos donde participa</h2>
								<table class="teams-table">
									<tr>
										<th></th>
										<th><h1>Nombre del equipo</h1></th>
										<th><h1>Tipo de Deporte</h1></th>
										<th><h1>Categor&iacute;a</h1></th>
									</tr>
									<?php
										//print_r($teams);
										$count = 1;
										foreach($teams as $row) {
									?>
									<tr>
										<td><span class="ui-icon ui-icon-circle-triangle-e"></span></td>
										<td>
											<?php echo $row -> team_name;?>
										</td>
										<td>
											<?php echo $row -> category_sport;?>
										</td>
										<td>
											<?php echo $row -> category_desc;?>
										</td>
									</tr>
									<?php
									$count++;
									}
									?>
								</table>
							</div>
							<div class="wrapper">
							</div>
						</div>
					</div>
					<!-- footer -->
					<div id="footer">
						<?php $this -> load -> view('league_footer');?>
					</div>
				</div>
			</div>
		</div>
		<script type="text/javascript">
			$( function() {
				$("#faded").faded({
					speed: 500,
					autopagination: false,
					autoplay: 4000,
					autorestart: true,
					crossfade: true
				});
			});
		</script>
	</body>
</html>
